import request from '@/plugins/axios/request';
const baseURL = process.env.VUE_APP_BASE_API

// 采购-分页查询
export function getList(data) {
  return request({
    url: `${baseURL}/tech-project-invite-buy/getList`,
    method: "post",
    data: data,
  });
}
// 采购-新增
export function addInvite(data) {
  return request({
    url: `${baseURL}/tech-project-invite-buy/add`,
    method: "post",
    data: data,
  });
}
// 采购-编辑
export function updateInvite(data) {
  return request({
    url: `${baseURL}/tech-project-invite-buy/update`,
    method: "post",
    data: data,
  });
}
// 采购-删除
export function deleteInvite(data) {
  return request({
    url: `${baseURL}/tech-project-invite-buy/delete`,
    method: "post",
    data: data,
  });
}
// 采购-详情
export function getDetail(data) {
  return request({
    url: `${baseURL}/tech-project-invite-buy/getDetail`,
    method: "get",
    params: data,
  });
}